package com.situ.feemanagement.service;

import com.situ.feemanagement.pojo.entity.Medicine;
import com.situ.feemanagement.pojo.query.MedicineQuery;
import com.situ.feemanagement.pojo.vo.QuantityVO;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;

public interface IMedicineService {

    List<Medicine> selectAll();

    Map<String, Object> selectByPage(MedicineQuery medicineQuery);

    void deleteById(int id);

    void deleteAll(Integer[] ids);

    void add(Medicine medicine);

    Medicine selectById(int id);

    void update(Medicine medicine);

    List<QuantityVO> selectQuantity(int id);

    void exportExcel(HttpServletResponse response);

    void importExcel(MultipartFile file);
}
